<div class="row">
    <div class="span2 bs-docs-sidebar ">
    <*include file="<*$controller*>/location.tpl"*>
    </div>
    <*if $groupid*>
        <div class="span4" <*if $schoolid*>style="display:none;"<*/if*>> 
            <div style="clear:both; padding-top:20px;"><*$page*></div>
            <table class="table table-bordered table-hover" style="cursor:pointer; margin-top:15px; margin-left:20px;" >
                <tr><th>学校名称</th></tr>
                <*foreach from=$school_picture item=m key=y*>
                <tr onclick="chooseit(<*$y*>,<*$groupid*>)"><td><*$school.$y.schoolname*>(<*$m.number*>)</td></tr>
                <*/foreach*>
            </table>
            <div style="clear:both; padding-top:10px; "><*$page*></div>
        </div>
    <*/if*>
    
			<div class="span4" style=" float:left; padding-left:10px; ">
<form action="/<*$controller*>/opedit" method="post" id="f1" >    
                    <p style="clear:both;padding-top:20px;">
                        <label class="radio" name="photo_set" id="photo_set" >
                          <input type="radio" name="photo_set" id="photo_set" value="" <*if $result.photosetid eq ''*> checked="checked"<*/if*> >
                          无分类
                        </label>

						<*foreach from =$photo_set item=item key=key*>
                        <label class="radio" name="photo_set" id="photo_set" >
                          <input type="radio" name="photo_set" id="photo_set<*$key*>" value="<*$key*>" <*if $result.photosetid eq <*$key*>*> checked="checked"<*/if*> >
                          <*$item*>
                        </label>
                        <*/foreach*>
                                               
                        <input type="text" name="title" id="title"  placeholder="标题"  value="<*$result.title*>">
                        <textarea rows="5" name="content" id="content" placeholder="内容" ><*$result.content*></textarea>
                    </p>
                    
<!--                        <div class="picture">
                              <*if $filename*>
                                <*foreach from=$filename item=item key =key *>
                                     <img src="<*$item*>.tiny.jpg" width="75" />
                                <*/foreach*>	
                             <*else*>
                             	<span>没有图片！</span>
                             <*/if*>
                        </div>
-->                    
                    <p style="margin-top:20px;">
                        <button type="submit" class="btn-large btn-primary btn" > 保存 </button>
                		<button type="button" class="btn-large  btn" onclick="window.location='/<*$controller*>/articlelist/groupid/<*$groupid*>/schoolid/<*$schoolid*>/uid_class/<*$uid_class*>/page/<*$page*>'">返回</button>
				<input type="hidden" name="articleid" value="<*$result.articleid*>" id="aid"/>
				<input type="hidden" name="groupid" value="<*$groupid*>" id="groupid"/>
				<input type="hidden" name="schoolid" value="<*$schoolid*>" id="schoolid"/>
				<input type="hidden" name="uid_class" value="<*$uid_class*>" id="uid_class"/>
                    </p>
</form>
            </div>
</div>

</div>
